#ifndef __TYPE_DEF_H__
#define __TYPE_DEF_H__

#include <stdint.h>

typedef char char_t;

#define RET_TRUE 1
#define RET_FALSE 0

#if 0
typedef int64_t s64;
typedef int32_t s32;
typedef int16_t s16;
typedef int8_t  s8;
typedef char    c8;

typedef const int32_t sc32;  /*!< Read Only */
typedef const int16_t sc16;  /*!< Read Only */
typedef const int8_t sc8;   /*!< Read Only */

typedef volatile int32_t  vs32;
typedef volatile int16_t  vs16;
typedef volatile int8_t   vs8;

typedef const int32_t vsc32;  /*!< Read Only */
typedef const int16_t vsc16;  /*!< Read Only */
typedef const int8_t vsc8;   /*!< Read Only */

typedef uint64_t u64;
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t  u8;

typedef const uint32_t uc32;  /*!< Read Only */
typedef const uint16_t uc16;  /*!< Read Only */
typedef const uint8_t uc8;   /*!< Read Only */

typedef const uint32_t  vu32;
typedef const uint16_t vu16;
typedef const uint8_t  vu8;

typedef const uint32_t vuc32;  /*!< Read Only */
typedef const uint16_t vuc16;  /*!< Read Only */
typedef const uint8_t vuc8;   /*!< Read Only */

typedef float f32;
typedef double d64;
typedef int ssize_t;
#endif
//typedef long ssize_t;

#endif
